package com.example.demo.entity;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;
@Data
public class User {

    private Integer userId;

    private String username;
    private String password;
    private String email;
    private LocalDateTime registrationDate;
    private LocalDateTime lastLogin;
    private Boolean isActive;
    private String userType;
   // private UserType userType;
    private List<ShoppingCart> shoppingCarts;
    private List<Order> orders;
//    public enum UserType {
//        USER, MERCHANT, ADMIN
//    }
} 